<?php
html::printPath('organization.form-title');
$msg->printMessages();
?>

<ul class="commandList">
    <li class="addLi"><?php echo html::anchor('admin/organization/edit', text::get('organization.createNew')) ?></li>
</ul>

<?php
$elb = new EntityListBuilder($this, $organizationList);
$elb->text('name');
$elb->text('country_name')->labelKey('country_code');
$elb->text('email');
$elb->boolean('emails_enabled');
$elb->text('preferred_language')->valueToTextMap(constants::$languageNames);
$elb->text('organizer_id')
        ->doubleValue('first_name', 'last_name')
        ->linkWithValue('admin/person/display?id=', 'organizer_id');
$elb->write();

